package com.smarthospital.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * create by sym  2021/5/30 13:47.
 */
@Data
@ApiModel(description = "退款订单金额信息")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WXRefundsBackAmountDTO {
    @ApiModelProperty("退款金额 单位应该为分")
    private int refund;
    @ApiModelProperty("订单总金额 单位应该为分")
    private int total;
    @ApiModelProperty("用户支付金额 单位应该为分")
    private int payer_total;
    @ApiModelProperty("用户退款金额 单位应该为分")
    private int payer_refund;
    @ApiModelProperty("去掉非充值代金券退款金额后的退款金额，单位为分，退款金额=申请退款金额-非充值代金券退款金额，退款金额<=申请退款金额。")
    private int settlement_refund;
    @ApiModelProperty("应结订单金额=订单金额-免充值代金券金额，应结订单金额<=订单金额，单位为分。")
    private int settlement_total;
    @ApiModelProperty("优惠退款金额<=退款金额，退款金额-代金券或立减优惠退款金额为现金，说明详见代金券或立减优惠，单位为分")
    private int discount_refund;
    @ApiModelProperty("退款币种 符合ISO 4217标准的三位字母代码，目前只支持人民币：CNY。")
    private String currency;

}
